import { Module } from '@nestjs/common';
import { LittleThingsService } from './little-things.service';
import { LittleThingsController } from './little-things.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import UserLittleThingsEntity from 'src/entities/user-little-things.entity';
import UserLittleThingsImageEntity from 'src/entities/user-little-things-image.entity';
import UserLittleThingsExtendEntity from 'src/entities/user-little-things-extend.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      UserLittleThingsEntity,
      UserLittleThingsImageEntity,
      UserLittleThingsExtendEntity
    ])
  ],
  controllers: [LittleThingsController],
  providers: [LittleThingsService]
})
export class LittleThingsModule {}
